package com.niit.galuser.client;

import com.niit.entity.Game;
import com.niit.entity.User;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;

import java.util.List;

@FeignClient(value = "galgame")
public interface GameClient {
//    @PostMapping("/game/ids")
//    public List<Game> queryByIds(List<Integer> gids);

    @PostMapping("game/setUser")
    public void setUser(User user);
}
